import time
import unittest
from selenium import webdriver
from data002.Page.Page import Page
from data002.Page.Page1 import Page1
from data002.Page.Page2 import Page2


class MyTestCase(unittest.TestCase):
    def setUp(self):
        self.driver = webdriver.Edge()
    def tearDown(self):
        time.sleep(3)
        self.driver.quit()
    def test_case_baidu(self):
        po = Page(self.driver)
        po.text_casr_baidu()
        po1 = Page1(self.driver)
        po1.text_casr_baidu_01()
        po2 = Page2(self.driver)
        po2.text_casr_baidu_02()
if __name__ == '__main__':
    unittest.main()

